<?php
/* @var $this CmpDepositController */
/* @var $model CmpDeposit */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'客户服务'=>array($this->pre_module_url.'/cmpServices/admin'),
	'退款管理'=>array($this->pre_module_url.'/refund/admin'),
	'确认退款'
);

?>

<div class="hr_15"></div>
<div class="steps">
	<ul class="fs_14 c_f">
		<li class="done done_b first"><span class="one">第一步,买家投诉申请</span></li>
		<li class="done_a"><span class="two d_n">第二步，卖家处理投诉</span></li>
		<li class="cur_last"><span class="three">第三步，投诉完成</span></li> 
	</ul>
</div>
<div class="hr_20"></div>
<!--投诉管理 start-->
<div class="complain_box step_box">
	<div class="step_info">
		<div class="step_status">
			<div class="status">
				<p><span class="ico_big ico_done"></span><strong class="fs_14">商城已处理完成</strong></p>
				<p class="line_28">处理时间：<?php echo date('Y-m-d H:i',$model->zmr_disposetime)?></p>
				<p class="line_28">处理内容：<?php echo CHtml::encode($model->zmr_disposeidea)?></p>
			</div>
		</div>
		<div class="info">
			<h3>卖家申诉信息</h3>
			<ul class="form_list">
				<li><span class="tit">申诉时间：</span><span>：<?php echo date('Y-m-d H:i',$model->zmr_cmp_time)?></span></li>
				<li class="c_f"><span class="tit f_l">上传凭证：</span>
					<div class="cert_img f_l">
						<ul class="c_f">
							<li><?php echo CHtml::image(!empty($model->zmr_cmp_pic[0])?$model->zmr_cmp_pic[0]:"/images/cert_img.jpg")?></li>
							<li><?php echo CHtml::image(!empty($model->zmr_cmp_pic[1])?$model->zmr_cmp_pic[1]:"/images/cert_img.jpg")?></li>
							<li><?php echo CHtml::image(!empty($model->zmr_cmp_pic[2])?$model->zmr_cmp_pic[2]:"/images/cert_img.jpg")?></li>
						</ul>
					</div>
				</li>
				<li><span class="tit">补充说明：</span><span><?php echo CHtml::encode($model->zmr_reply)?></span></li>
			</ul>
		</div>
		<div class="info no_border">
			<h3>买家投诉信息</h3>
			<ul class="form_list">
				<li><span class="tit">投诉编号：</span><span><?php echo CHtml::encode($model->zmr_id)?></span></li>
				<li><span class="tit">投诉原因：</span><span><?php echo CHtml::encode(MemReport::model()->getTypeInfo($model->zmr_type_info))?></span></li>
				<li class="c_f"><span class="tit f_l">上传凭证：</span>
					<div class="cert_img f_l">
						<ul class="c_f">
							<li><?php echo CHtml::image(!empty($model->zmr_mem_pic[0])?$model->zmr_mem_pic[0]:"/images/cert_img.jpg")?></li>
							<li><?php echo CHtml::image(!empty($model->zmr_mem_pic[1])?$model->zmr_mem_pic[1]:"/images/cert_img.jpg")?></li>
							<li><?php echo CHtml::image(!empty($model->zmr_mem_pic[2])?$model->zmr_mem_pic[2]:"/images/cert_img.jpg")?></li>
						</ul>
					</div>
				</li>
				<li><span class="tit">补充说明：</span><span>商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛</span></li>
			</ul>
		</div>
	</div>
	<table class="list_table" cellpadding="0" cellspacing="0" width="100%">
		<tr>
			<th width="35%">宝贝信息</th>
			<th width="15%">卖家</th>
			<th width="12%">单价（元）</th>
			<th width="12%">数量</th>
			<th width="14%">优惠</th>
			<th width="12%">小计（元）</th>
		</tr>
		<?php if(empty($model->z_id)){foreach($model->order->orderProduct as $val)?>
		<tr>
			<td class="pro tl">
				<div class="c_img c_img50">
					<?php echo CHtml::link(Tool::thumb($val->zop_pic,50,50),array('/home/product/detail','id'=>$val->zp_id),array('style'=>'display: inline; width: 50px; height: 50px;'))?>
				</div>
				<p class="title_pro">
					<?php echo CHtml::link(mb_substr($val->zop_title,0,20),array('/home/product/detail','id'=>$val->zp_id),array('class'=>'c_06c'))?>
				</p>
			</td>
			<td>
				<a class="c_06c" href="javascript:" title=""><?php echo $val->member->zm_name?></a>
			</td>
			<td><?php echo $val->zop_price?></td>
			<td><?php echo $val->zop_nums?></td>
			<td><span class="agio"><?php echo number_format(($val->zop_price*$val->zop_nums)*10/$val->zop_real_price,1,'.','')?>折优惠</span></td>
			<td><span class="fw_b fs_14 c_f60"><?php echo $val->zop_real_price?></span></td>
		</tr>
		<?php } ?>
	</table>
</div>	
<!--投诉管理 end-->

